﻿<%@ Page Title="评语管理-首家汽车行业人才测评系统" Language="C#" MasterPageFile="~/System/SiteSystem.Master"
    AutoEventWireup="true" CodeBehind="CommentList.aspx.cs" Inherits="EvaluationSystem.CommentList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        请选择岗位：<asp:DropDownList runat="server" ID="ddlPosition" Width="150px" OnSelectedIndexChanged="ddlPosition_SelectedIndexChanged"
            AutoPostBack="true" CssClass="controlstyle">
        </asp:DropDownList>
        <asp:GridView ID="grVActivityManage" runat="server" AllowPaging="false" AutoGenerateColumns="False"
            CellPadding="4" DataKeyNames="dimension_id,posion_id" ForeColor="#333333" GridLines="None"
            Width="100%" OnRowDataBound="GridView1_RowDataBound" PageSize="10" HorizontalAlign="Center">
            <Columns>
                <asp:TemplateField HeaderText="选择">
                    <ItemTemplate>
                        <asp:CheckBox ID="CB_Select" runat="server" AutoPostBack="false" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="dimension_id" HeaderText="维度编号" ReadOnly="True" SortExpression="dimension_id"
                    Visible="true" />
                <asp:BoundField DataField="posion_id" HeaderText="岗位编号" ReadOnly="True" SortExpression="posion_id"
                    Visible="false" />
                <asp:BoundField DataField="dimension_name" HeaderText="维度名称" ReadOnly="True" SortExpression="activity_name"
                    Visible="true" />
                <asp:HyperLinkField DataNavigateUrlFields="dimension_id,posion_id" DataNavigateUrlFormatString="AddComment.aspx?dimension_id={0}&position_id={1}"
                    HeaderText="查看评语" Text="查看" />
            </Columns>
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Center" VerticalAlign="Middle" />
            <EmptyDataTemplate>
                您好！此岗位当前还没有设置评语。
            </EmptyDataTemplate>
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#63C1CD" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White"/>
        </asp:GridView>
    </p>
    <asp:FileUpload ID="FileUploadPY" runat="server" CssClass="controlstyle" Visible="true" />
    <asp:Button ID="btnImport" runat="server" Text="导入评语" class="bluebtn" OnClick="btnImport_Click" />
</asp:Content>
